projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8636567
)
xl: correct test for domid on error exit from domain_create
author
Ian Jackson
<Ian.Jackson@eu.citrix.com>
Thu, 13 Jan 2011 01:26:44 +0000
(
01:26
+0000)
committer
Ian Jackson
<Ian.Jackson@eu.citrix.com>
Thu, 13 Jan 2011 01:26:44 +0000
(
01:26
+0000)
The previous changeset 22739:
d839631b6048
changed the initialisation
of domid without changing the corresponding cleanup test. Oops.
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/xl_cmdimpl.c
patch
|
blob
|
history
diff --git
a/tools/libxl/xl_cmdimpl.c
b/tools/libxl/xl_cmdimpl.c
index d29d661a0fc139a9afe91cc2afe249c21aefde0f..d1b9f14fe46344dcb5dba1147adfcf7166960ffd 100644
(file)
--- a/
tools/libxl/xl_cmdimpl.c
+++ b/
tools/libxl/xl_cmdimpl.c
@@
-1627,7
+1627,7
@@
start:
error_out:
release_lock();
- if (domid)
+ if (domid
> 0
)
libxl_domain_destroy(&ctx, domid, 0);
out: